/*
 * SaverServiceImpl.java
 *
 * Created on 5 février 2009, 16:04
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.yournamehere.server;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import org.yournamehere.client.SaverService;

/**
 *
 * @author D4v1D
 */
public class SaverServiceImpl extends RemoteServiceServlet implements
        SaverService {
    
    public String myMethod(String username,String gridname,String time) {
        Score newScore= new Score(username,gridname,time);
        ScoreController sc = new ScoreController();
        sc.saveScore(newScore.toString());

        return "Server says: " ;
    }
}
